package wxPaySdk.impl;

import org.springframework.stereotype.Service;
import wxPaySdk.IWXPayDomain;
import wxPaySdk.WXPayConfig;
import wxPaySdk.WXPayConstants;

/**
 * Created by asus on 2018/10/8.
 */
@Service
public class IWXPayDomainImpl implements IWXPayDomain {
    @Override
    public void report(String domain, long elapsedTimeMillis, Exception ex) {
         domain= WXPayConstants.DOMAIN_API;
    }

    @Override
    public DomainInfo getDomain(WXPayConfig config) {
        DomainInfo domainInfo = new DomainInfo(WXPayConstants.DOMAIN_API,true);
        return domainInfo;
    }

}
